/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;

/**
 *
 * @author Master
 */
public class POJO_VeTau {
    private String MAVE;
    private String MAGHE;
    private String MACHUYEN;
    private Integer GIAVE;
    
    public void setMAVE(String _maVe)
    {
        this.MAVE = _maVe;
    }
    public String getMAVE()
    {
        return MAVE;
    }
    
    public void setMAGHE(String _maGhe)
    {
        this.MAGHE = _maGhe;
    }
    public String getMAGHE()
    {
        return MAGHE;
    }
    
    public void setMACHUYEN(String _maChuyen)
    {
        this.MACHUYEN = _maChuyen;
    }
    public String getMACHUYEN()
    {
        return MACHUYEN;
    }
    
    public void setGIAVE(Integer _giaVe)
    {
        this.GIAVE = _giaVe;
    }
    public Integer getGIAVE()
    {
        return GIAVE;
    }  
    
    public POJO_VeTau(String _maVe, String _maGhe, String _maChuyen, Integer _giaVe)
    {
        this.MAVE = _maVe;
        this.MAGHE = _maGhe;
        this.MACHUYEN = _maChuyen;
        this.GIAVE = _giaVe;
    }
    
    public POJO_VeTau()
    {
        this.MAVE = "";
        this.MAGHE = "";
        this.MACHUYEN = "";
        this.GIAVE = -1;
    }
    
    @Override
    public String toString()
    {
        return this.MAVE;
    }
}
